package jjn.round1;

/**
 * @author Jjn
 * @since 2022/8/16 23:54
 */
public class VersionControl {

    private final int minBadVersion;

    public boolean isBadVersion(int version) {
        if (version >= minBadVersion) {
            return true;
        }
        return false;
    }

    public VersionControl(int minBadVersion) {
        this.minBadVersion = minBadVersion;
    }
}
